package com.hope.domain.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserDTO implements Serializable {
    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String username;
    private String nickname;
    private String avatar;
    private String email;
    private String info;
}
